/**
 * 
 */
package com.revenco.bi.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.revenco.bi.dao.TnPublicDemensionValueSelDao;
import com.revenco.bi.model.TnPublicDemensionValueSel;
import com.revenco.bi.service.TnPublicDemensionValueSelService;

/**
 * @author LingJun
 * @version $Revision:1.0.0, 2014年1月20日 上午11:31:23
 */
@Service
public class TnPublicDemensionValueSelServiceImpl implements
		TnPublicDemensionValueSelService {
	@Autowired
	TnPublicDemensionValueSelDao tnPublicDemensionValueSelDao;

	public List<TnPublicDemensionValueSel> getTnPublicDemensionValueSelByPvId(
			String pvId) {
		return tnPublicDemensionValueSelDao
				.getTnPublicDemensionValueSelByPvId(pvId);
	}

	public Map<String, String> getDemensionValues(String text, String value,
			String table) {
		return tnPublicDemensionValueSelDao.getDemensionValues(text, value,
				table);
	}
}
